<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Adding Anonymization Rules">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="data_masking_000009.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20241029">
  <meta name="documenttype" content="usermanual">
  <meta name="prodname" content="csbs">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="data_masking_000011">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Adding Anonymization Rules</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="data_masking_000011"></a><a name="data_masking_000011"></a>
  <h1 class="topictitle1">Adding Anonymization Rules</h1>
  <div>
   <p>Common anonymization rules have been preset in the <span>product</span>. If the preset anonymization rules do not meet your requirements, you can customize some rules.</p>
   <p>For details about the types of anonymization rules, see <a href="data_masking_000022.html">Anonymization Rule Types</a>.</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li id="data_masking_000011__li1979621723214"><span>In the navigation pane, choose <span class="menucascade" id="data_masking_000011__menucascade22010284584"><b><span class="uicontrol" id="data_masking_000011__uicontrol12022819584">Data Security</span></b> &gt; <b><span class="uicontrol" id="data_masking_000011__uicontrol18920193013584">Data Anonymization</span></b> &gt; <b><span class="uicontrol" id="data_masking_000011__uicontrol11249124819582">Anonymization Policies</span></b></span>.</span><p></p>
      <div class="note" id="data_masking_000011__note519912488530">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p id="data_masking_000011__p21991848185316">For 1.5.0, choose <span id="data_masking_000011__text15942173305518"><strong>Explore</strong></span> &gt; <span id="data_masking_000011__text994233310554"><strong>Data Utilization Policies</strong></span> in the navigation pane and click <span id="data_masking_000011__text1994293345512"><strong>Anonymization Policies</strong></span>.</p>
       </div>
      </div> <p></p></li>
     <li><span>In the right <span><strong>Anonymization Policies</strong></span> pane, click the <span><strong>Anonymization Rules</strong></span> tab.</span></li>
     <li><span>Click <span><strong>Add</strong></span>, and set anonymization rules as prompted.</span><p></p><p><a href="#data_masking_000011__table29452017144310">Table 1</a> provides an example of an anonymization rule.</p>
      <div class="tablenoborder">
       <a name="data_masking_000011__table29452017144310"></a><a name="table29452017144310"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="data_masking_000011__table29452017144310" frame="border" border="1" rules="all">
        <caption>
         <b>Table 1 </b>Anonymization rule example
        </caption>
        <colgroup>
         <col style="width:14.27%">
         <col style="width:32.629999999999995%">
         <col style="width:15.010000000000002%">
         <col style="width:9.3%">
         <col style="width:28.78%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="14.271427142714272%" id="mcps1.3.3.2.3.2.2.2.6.1.1"><p>Anonymization Rule Type</p></th>
          <th align="left" class="cellrowborder" valign="top" width="32.63326332633263%" id="mcps1.3.3.2.3.2.2.2.6.1.2"><p>Parameter &amp; Example Value</p></th>
          <th align="left" class="cellrowborder" valign="top" width="15.011501150115011%" id="mcps1.3.3.2.3.2.2.2.6.1.3"><p>Source Data</p></th>
          <th align="left" class="cellrowborder" valign="top" width="9.3009300930093%" id="mcps1.3.3.2.3.2.2.2.6.1.4"><p>Rule Example</p></th>
          <th align="left" class="cellrowborder" valign="top" width="28.782878287828783%" id="mcps1.3.3.2.3.2.2.2.6.1.5"><p>Rule Example Description</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" rowspan="2" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Full-Mask</p></td>
          <td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Mask Character</strong></span>: *</p></td>
          <td class="cellrowborder" rowspan="2" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>abcde</p> <p></p></td>
          <td class="cellrowborder" rowspan="2" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>***</p> <p></p></td>
          <td class="cellrowborder" rowspan="2" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Uses 3-digit asterisks (*) to anonymize all source data.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Character Length</strong></span>: 3</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" rowspan="3" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Partial-Mask</p></td>
          <td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Mask Character</strong></span>: *</p></td>
          <td class="cellrowborder" rowspan="3" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>abcdefg</p></td>
          <td class="cellrowborder" rowspan="3" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>***fg</p></td>
          <td class="cellrowborder" rowspan="3" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Uses 3-digit asterisks (*) to anonymize the first to fifth digits of source data.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Character Length</strong></span>: 3</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p><span><strong>Mask Position</strong></span>: The start character is located at position 1 while the end character is located at position 5.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Numeric-Range</p></td>
          <td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Random Number Range</strong></span>: The minimum number is 1 and the maximum number is 5.</p></td>
          <td class="cellrowborder" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>1234567</p></td>
          <td class="cellrowborder" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>4</p></td>
          <td class="cellrowborder" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Replaces source data with a number ranging from 1 to 5.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="14.271427142714272%" headers="mcps1.3.3.2.3.2.2.2.6.1.1 "><p>Fixed-Number</p></td>
          <td class="cellrowborder" valign="top" width="32.63326332633263%" headers="mcps1.3.3.2.3.2.2.2.6.1.2 "><p><span><strong>Specified Value</strong></span>: 5</p></td>
          <td class="cellrowborder" valign="top" width="15.011501150115011%" headers="mcps1.3.3.2.3.2.2.2.6.1.3 "><p>1234567</p></td>
          <td class="cellrowborder" valign="top" width="9.3009300930093%" headers="mcps1.3.3.2.3.2.2.2.6.1.4 "><p>5</p></td>
          <td class="cellrowborder" valign="top" width="28.782878287828783%" headers="mcps1.3.3.2.3.2.2.2.6.1.5 "><p>Replaces source data with the number 5.</p></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li><span>Click <span><strong>OK</strong></span>.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="data_masking_000009.html">Configuring Data Anonymization</a>
    </div>
   </div>
  </div>
 </body>
</html>